import 'package:flutter/material.dart';

class MyIcon {
  static Widget icon(){
    return Center(
      child: Container(
        width: 100,
        height: 100,
        color: Colors.yellow,
        child: Icon(Icons.build),
      )
    );
  }

  static Widget iconSizeAndColor(){
    return Center(
        child: Container(
          width: 100,
          height: 100,
          color: Colors.red,
          child: Icon(Icons.ac_unit_sharp,size: 50,color: Colors.white,),
        )
    );
  }
}